package com.goldplusgold.tradedelay.app.trade.networkservice;

import com.goldplusgold.tradedelay.app.BuildConfig;

/**
 * Created by admin on 2017/5/15.
 */

public class ApiConfig {
    //登录
    public static final String TRADE_LOGIN = BuildConfig.TRADE_HOST_URL + "td_login_page?fromFlag=1";
    //持仓
    public static final String _POSITION_URL = BuildConfig.TRADE_HOST_URL + "query_position_order";
    //委托
    public static final String _ENTRUST_URL = BuildConfig.TRADE_HOST_URL + "query_entrust_order";
    //委托撤单
    public static final String _CANCEL_ENTRUST_URL = BuildConfig.TRADE_HOST_URL + "revoke_entrust_order";

    //成交
    public static final String _TRADE_URL = BuildConfig.TRADE_HOST_URL + "transactions_inquiry";
    //查看合约持仓
    public static final String _TRADE_TYPE_URL = BuildConfig.TRADE_HOST_URL + "position_type";
    //查询合约持仓总量
    public static final String _POSITION_AMOUNT_URL = BuildConfig.TRADE_HOST_URL + "query_position_amount";
    //下单
    public static final String _ORDER_TRANSACTION_URL = BuildConfig.TRADE_HOST_URL + "td_make_order";
    //开关
    public static final String _ORDER_SWITCH_URL = BuildConfig.TRADE_HOST_URL + "td_switch";

    //我的资产
    public static final String _CASH_URL = BuildConfig.TRADE_HOST_URL + "td_account_cash_app";
    //更多-->银行卡
    public static final String _CUSTOMER_URL = BuildConfig.TRADE_HOST_URL + "customer_information";
    //转入转出
    public static final String _CASH_OPERATION_URL = BuildConfig.TRADE_HOST_URL + "td_cash_operation";

    //新增止盈止损记录
    public static final String _PROFIT_LOSS_ADD_URL = BuildConfig.PROFIT_LOSS_URL + "td/sltp/add";
    //更新止盈止损记录
    public static final String _PROFIT_LOSS_UPDATE_URL = BuildConfig.PROFIT_LOSS_URL + "td/sltp/update";
    //删除止盈止损记录
    public static final String _PROFIT_LOSS_DELETE_URL = BuildConfig.PROFIT_LOSS_URL + "td/sltp/delete";
    //获取未触发记录
    public static final String _PROFIT_NOT_TRIGGER_URL = BuildConfig.PROFIT_LOSS_URL + "td/sltp/getAllNotTriggered";
    //获取触发记录
    public static final String _PROFIT_TRIGGER_URL = BuildConfig.PROFIT_LOSS_URL + "td/sltp/getAllTriggered";
    //获取设置记录
    public static final String _PROFIT_SETTING_URL = BuildConfig.PROFIT_LOSS_URL + "td/sltp/getAllValid";
}
